#include"Plane.h"
Plane::Plane(void) : Object()
{
	this->m_PositionX2 = 0;
	this->m_PositionY2 = 0;
	SetType(PLANE);
}
Plane::~Plane(void)
{
	//printf("Destructor Plane!!\n");
}
void Plane::Update(float frameTime)
{

}
void Plane::Render()
{
	VideoDriver::GetInstance()->FillRect((int)m_PositionX, (int) m_PositionY,
		m_PositionX2 - (int)m_PositionX + 1, m_PositionY2 - (int)m_PositionY + 1);
}
void Plane::SetPositionEndPoint(int posX2, int posY2)
{
	this->m_PositionX2 = posX2;
	this->m_PositionY2 = posY2;
}